package com.example.ref;


import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

public  class Insert extends Statement
{

	Object object;

	public Insert(Object object) 
	{
		this.object=object;
	}

	@Override
	public Void execute(Context context) throws Exception {
		 RSQLiteDatabaseHelper.insert(null,object, context);
		return null;
	}

	@Override
	public Void execute(SQLiteDatabase database, Context context)
			throws Exception {
		RSQLiteDatabaseHelper.insert(database,object, context);
		
		return null;
	}

}
